<?php
/**
 * Created by PhpStorm.
 * User: DELL
 * Date: 2018/9/26
 * Time: 16:55
 */

namespace app\api\validate;


use think\Validate;

class TestValidate extends Validate
{
 protected $rule=[
    'name'=>'require|max:10',
     'email'=>'email'
 ];
}